<!-- 搜索框 -->
<div class="search">
    <app-search [information]="information" (editData)="query($event)"></app-search>
</div>  

<p-growl [value]="msgs"></p-growl>

<p-tabView>
    <p-tabPanel header="查看薪资信息" leftIcon="fa-calendar" >
        <p-chart type="line" [data]="data" (onDataSelect)="selectData($event)" *ngIf="data!=undefined" [style]="{'height':'300px'}" ></p-chart>
        <p style="text-align:center;" *ngIf="data==undefined">未查询到 &nbsp;&nbsp; <label style="color:red">{{userName}}</label>&nbsp;&nbsp;的薪资信息！&nbsp;&nbsp;</p>
    </p-tabPanel>
    <p-tabPanel header="查看学历信息" leftIcon="fa-print">
            <!-- [loading]="true" -->
        <p-dataTable [value]="eduInfo" *ngIf="eduInfo.length!=0" >
            <p-column field="certificateName" header="证书名称"></p-column>
            <p-column field="universityName" header="颁发机构"></p-column>
        </p-dataTable>
        <p style="text-align:center;" *ngIf="eduInfo.length==0">未查询到 &nbsp;&nbsp; <label style="color:red">{{userName}}</label>&nbsp;&nbsp;的学历信息！&nbsp;&nbsp;</p>
        <!-- <table border="1px solid blue;" style="border-collapse: collapse" >
            <tr><th colSpan="5">学历证书对比 --丁成云 6期</th></tr>
            <tr >
                <th colSpan="3">
                进入大米时代前
                </th>
                <th colSpan="2">
                进入大米时代后
                </th>
            </tr>
            <tr align="center">
                <td> 学历 </td>
                <td> 毕业院校 </td>
                <td> 证书照片 </td>
        
                <td>学历</td>
                <td> 证书照片 </td>
            </tr>
            <tbody id="one-info">
            <tr>
                <td class="before">大学本科</td>
                <td class="before">廊坊师范学院</td>
                
                <td class="before"><img hidefocus="true" src="//www.baidu.com/img/bd_logo1.png" style="max-width: 100px;max-height:100px;" usemap="#mp"></td>
                <td class="after">河北答学-计算机信息管理专业-本科</td>
                <td class="after"><img hidefocus="true" src="//www.baidu.com/img/bd_logo1.png" style="max-width: 100px;max-height:100px;" usemap="#mp"></td>
            </tr>
            <tr>
                <td class="before"></td>
                <td class="before"></td>
                
                <td class="before"></td>
                <td class="after">软件工程师中级职称</td>
                <td class="after"><img hidefocus="true" src="//www.baidu.com/img/bd_logo1.png" style="max-width: 100px;max-height:100px;" usemap="#mp"></td>
            </tr>
            <tr>
                <td class="before"></td>
                <td class="before"></td>
                
                <td class="before"></td>
                <td class="after">北京理工研究生</td>
                <td class="after"><img hidefocus="true" src="//www.baidu.com/img/bd_logo1.png" style="max-width: 100px;max-height:100px;" usemap="#mp"></td>
            </tr>
            </tbody>
        </table> -->
    </p-tabPanel>
</p-tabView>


<!-- 提示框，隐藏IP地址 -->
<p-dialog header="提示" [(visible)]="display" modal="modal" width="400" [responsive]="true">
    <p style="text-align:center">
        {{messages}}
    </p>
    <p-footer>
        <button type="button" pButton icon="fa-check" (click)="display=false" label="确定"></button>
        <button id="btnErrorDataShow" type="button" pButton icon="fa-check" style="display:none;" (click)="lookErrorData()" label="失败数据"></button>
    </p-footer>
  </p-dialog>